import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Space } from 'vant';
import { Grid, GridItem } from 'vant';
import "@/style/base.css"
import { Icon } from 'vant';
import { Form, Field, CellGroup } from 'vant';
import { Tag } from 'vant';
import { ShareSheet } from 'vant';

// Toast
import { Toast } from 'vant';
import 'vant/es/toast/style';

// Dialog
import { Dialog } from 'vant';
import 'vant/es/dialog/style';

// Notify
import { Notify } from 'vant';
import 'vant/es/notify/style';

// ImagePreview
import { ImagePreview } from 'vant';
import 'vant/es/image-preview/style';

import {Button}from 'vant'
const app=createApp();
app.use(Grid);
app.use(GridItem);
app.use(Button);
app.use(Space);
app.use(Icon);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Tag);
app.use(ShareSheet);
 createApp(App).use(store).use(router).mount('#app')
